package func.study.groovy.shell;

import groovy.lang.Binding;
import groovy.lang.GroovyObjectSupport;
import org.jsoup.nodes.Document;

/**
 * Created by yao_pc on 2017/8/6.
 */
public class DocumentBinding extends Binding {
    //document在DSL中应用的KEY
    private static final String DOC_KEY = "doc";
    DocumentBinding(Document document) {
        this.setProperty(DOC_KEY, document);
    }

}
